#ifndef IVTSTATE_H
#define IVTSTATE_H

#include <iostream>
#include <list>
#include <fstream>

class IVTState
{

public:
    enum state{IDEL = 0,RUNNING,FAILED,SUCCESSFUL};
    IVTState();

    void iniWay();//初始化那些状态可以相互转换
    int changeState();//改变状态



private:
    int m_state;//状态保存
    std::list<int> m_list;


};

#endif // IVTSTATE_H
